<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="css/login.css">
<title>管理员登录</title>
<script type="text/javascript">
function loginCheck(){
	 var pwd = document.getElementById("managerId");
	 var PwdInfo = document.getElementById("PwdCheckInfo");
	 var id = document.getElementById("managerPwd");
	 var IdInfo = document.getElementById("IdCheckInfo");
	 if(pwd.value.length == 0 || id.value.length == 0){
		 if(pwd.value.length == 0)
		 	PwdInfo.innerHTML = "请输入密码";
		 if(id.value.length == 0)
		 	IdInfo.innerHTML = "请输入工号";
	 }
	 else{
		PwdInfo.innerHTML = "";
		IdInfo.innerHTML="";
	 	submitForm.action="manaloginCheck.jsp";
	 	submitForm.submit();
    }
}
</script>
</head>
<body>
<div id="mainContent">
<div style="background:url(image/loginhead.jpg)no-repeat left top;" id="topImage">
<a href="HomePage.html" id="backhome">首页</a>
<p id="head1">班 费 信 息 管 理</p>
<p id="head2">(管 理 员 登 录)</p>
</div>
         <div id="loginfo">
         <form method="post" name="submitForm">
         <ul class="nopoint" >
         <li id="loginId"><input type="text"  id="managerId" name="managerId" placeholder="工号" onblur="checkId()"/><span id="IdCheckInfo" style="font-size:15px"></span></li>
         <li id="loginPwd"><input type="password" id="managerPwd" name="managerPwd" placeholder="密码" onblur="checkPwd()"/><span id="PwdCheckInfo" style="font-size:15px"></span></li>
         <li><a href="tb_manager/manageradd1.jsp">注册</a></li>
         <li id="loginButton"><input type="button" id="loginbutton" name="loginbutton" value="登   录" onclick="loginCheck()"/>
         </ul>
         </form>
         </div>   
     </div>
</body>
</html>